package org.example.aop.service.impl;

import org.example.aop.dao.UserDao;
import org.example.aop.entity.User;
import org.example.aop.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.ImportResource;
import org.springframework.stereotype.Service;

/**
 * org.example.aop.service.impl
 *
 * @author 莫磊
 * @description
 * @date 2025/7/27
 */
@Service
public class UserServiceImplForMysql implements UserService {

	@Autowired
	@Qualifier("userDaoForMysql")
	private UserDao userDao;

	public void addUser(User user){
		userDao.addUser(user);
	}
}
